//
//  BCNoteCell.m
//  Memo
//
//  Created by 李雪 on 16/3/9.
//  Copyright © 2016年 www.lanou3g.com 蓝鸥科技. All rights reserved.//

#import "BCNoteCell.h"

@implementation BCNoteCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        self.frame=CGRectMake(0, 0, 320, 82);
        
         _backgroundImageView=[[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.bounds.size.width, self.bounds.size.height)];
        _backgroundImageView.userInteractionEnabled=YES;
        
        _timeLabel=[[UILabel alloc]initWithFrame:CGRectMake(32, 11,78,20)];
        _timeLabel.userInteractionEnabled=YES;
        _timeLabel.backgroundColor=[UIColor clearColor];
        _timeLabel.textAlignment=NSTextAlignmentCenter;
        _timeLabel.font=[UIFont systemFontOfSize:9];

        _contentLabel=[[UILabel alloc]initWithFrame:CGRectMake(31, 32, self.bounds.size.width-50, 48)];
        _contentLabel.userInteractionEnabled=YES;
        _contentLabel.numberOfLines=2;
        _contentLabel.backgroundColor=[UIColor clearColor];
        _contentLabel.font=[UIFont systemFontOfSize:14];
        
        [self.contentView addSubview:_backgroundImageView];
        [self.contentView addSubview:_timeLabel];
        [self.contentView addSubview:_contentLabel];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
